package com.adcc.foc.domain;

import java.io.Serializable;

/**
 * Created by houxy on 2016/8/3.
 *
 * @author houxy
 * t_auth_organization的实体类
 */
public class Organization implements Serializable {
    private String id;
    private String pid;
    private String deptname;
    //追加一个属性，用于加载user相关信息
    private User user;

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getDeptname() {
        return deptname;
    }

    public void setDeptname(String deptname) {
        this.deptname = deptname;
    }
}
